package com.ruicar.afs.cloud.basic.creditchange.condition;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description:
 */
@Data
public class RepaymentPlanChangeCondition {
    @ApiModelProperty("合同号码")
    private String contractNo;
    @ApiModelProperty("剩余本金")
    private BigDecimal remainPrinciple;
    /** 原到期日 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("原到期日")
    private Date oldDueDate;
    /** 手续费 */
    @ApiModelProperty("手续费")
    private BigDecimal poundage;
    /** 还款日变更实际费率 */
    @ApiModelProperty("还款日变更实际费率")
    private BigDecimal realInterestRate;
    /** 变更多少次后收取手续费 */
    @ApiModelProperty("变更多少次后收取手续费")
    private Integer repayChangeLimitFrequency;
}
